package me.firstapp.common.module.bbs;

import java.util.Date;

import me.firstapp.common.module.base.JsonBase;

public class JsonReplyInManage extends JsonBase {

	private static final long serialVersionUID = 437738115501686384L;
	
	// 回复的内容
	private String content;

	// 创建时间
	private Date createTime;

	// 关联的话题
	private Long topicId;

	// 添加回复的用户
	private Long fromMemberId;
	
	private String fromMemberName;

	// 被回复的用户
	private Long toMemberId;
	
	private String toMemberName;
	
	public JsonReplyInManage(JsonReply reply){
		this.id = reply.getId();
		this.content = reply.getContent();
		this.createTime = reply.getCreateTime();
		this.topicId = reply.getTopicId();
		this.fromMemberId = reply.getFromMember().getId();
		this.fromMemberName = reply.getFromMember().getName();
		this.toMemberId = reply.getToMember().getId();
		this.toMemberName = reply.getToMember().getName();
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Long getTopicId() {
		return topicId;
	}

	public void setTopicId(Long topicId) {
		this.topicId = topicId;
	}

	public Long getFromMemberId() {
		return fromMemberId;
	}

	public void setFromMemberId(Long fromMemberId) {
		this.fromMemberId = fromMemberId;
	}

	public String getFromMemberName() {
		return fromMemberName;
	}

	public void setFromMemberName(String fromMemberName) {
		this.fromMemberName = fromMemberName;
	}

	public Long getToMemberId() {
		return toMemberId;
	}

	public void setToMemberId(Long toMemberId) {
		this.toMemberId = toMemberId;
	}

	public String getToMemberName() {
		return toMemberName;
	}

	public void setToMemberName(String toMemberName) {
		this.toMemberName = toMemberName;
	}

	
}
